package com.kefu.robot.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kefu.common.service.AbstractKefuService;
import com.kefu.robot.mapper.RobotSynonymMapper;
import com.kefu.robot.model.RobotSynonym;

@Service
@Transactional
public class RobotSynonymService  extends AbstractKefuService<RobotSynonym> {
    @Autowired
    protected RobotSynonymMapper robotSynonymMapper;

    public List<RobotSynonym> getList(String tenantId) {
        RobotSynonym model = new RobotSynonym();
        model.setTenantId(tenantId);
        List<RobotSynonym> dbList = super.findByModel(model);
        return dbList;
    }
}
